package com.sky.service;

import com.sky.dto.*;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {


    void save(DishDTO dishDTO);

    PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

    void deleteBatch(List<Long> ids);

    Dish selectById(Long id);

    void startOrStop(Integer status, Long id);

    DishVO selectByIdWithFlavors(Long id);

    void update(DishVO dishVO);

    List<Dish> selectByCategoryId(Long categoryId);

    List<DishVO> selectWithFlavorsByCategoryId(Dish dish);
}
